//
//  LBScrollView.h
//  V-Learn
//
//  Created by Apple on 2019/2/12.
//  Copyright © 2019 yxk. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

//设置代理
@protocol seletedControllerDelegate <NSObject>

-(void)seletedControllerWith:(UIButton *)btn;

@end
@interface LBScrollView : UIScrollView

@property (nonatomic,strong)UIView *indicatorView;


@property (nonatomic,assign)int currentBtn;
//设置头部的标题数组
@property (nonatomic,strong)NSMutableArray *headArray;
//设置实现代理方法的代理人
@property (nonatomic,weak)id<seletedControllerDelegate> SeletedDelegate;
//创建方法实现点击按钮改变按钮标题的颜色
-(void)changeBtntitleColorWith:(int)tag;
@end

NS_ASSUME_NONNULL_END
